<!-- /* Description for file.
 * 单个简历录入
 * @copyright     Copyright 2008-2010, PHInfo Services Inc. (http://www.phinfoservices.com)
 * @package       ues
 * @subpackage    ues/app/views/resources
 * @since         ues
 * @version       V0.0.1
 * @modifiedby   会兵2011年0709
 * @lastmodified  会兵2011年0709
 */
 -->
<?php
echo $html->css ( 'jquery-validate/css/screen' );
echo $html->css ( 'tab' );
echo $javascript->link ( 'jquery' );
echo $javascript->link ( 'jquery-validate/jquery.validate');
echo $javascript->link ( 'jquery-validate/jquery.metadata');
echo $javascript->link ( 'jquery-validate/jquery.form');
echo $javascript->link ( 'jquery-validate/additional-methods');
echo $javascript->link ( 'jquery-validate/localization/messages_cn');
//echo $javascript->link ('formValidate');
?>


<script type="text/javascript">

//验证是否必填
function test(id)
{
	var srt = "font#" + id;
	var isValidate =  $(srt).text();
	var validate = $.trim(isValidate);
	if(validate == "*"){
		return true;
	} else {
		return false;
	}
}

//添加验证
$(document).ready(function() {
	$.validator.setDefaults({       
		 submitHandler: function(form) {    
		  form.submit();    
		}       
	});   
			
	$("#ResumeHandinsertForm").validate({
		
			rules: {
			"data[Resume][name]":{
			required: test("name"),formatOfName:true,stringMinLength:0,stringMaxLength:50
			},//姓名
			"data[Resume][email]":{
			required: test("email"),email:true
			},//电子邮件
			"data[Resume][sex]":{
			required: test("sex")
			},//性别
			"data[Resume][certificate]":{
			required: test("certificate")
			},//证书 
			"data[Resume][projectExperience]":{
			required: test("projectExperience")
			},//项目经验
			"data[Resume][languageSkills]":{
			required: test("languageSkills")
			},//外语能力
			"data[Resume][recruitPosition]":{
			required: test("recruitPosition"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//应聘岗位
			"data[Resume][itSkills]":{
			required: test("itSkills")
			},//IT 技 能
			"data[Resume][familytel]":{
			required: test("familytel"),phone:true
			},//家庭电话
			"data[Resume][resumerank]":{
			required: test("resumerank"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//简历等级
			"data[Resume][workarea]":{
			required: test("workarea"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//工作地点
			"data[Resume][folk]":{
			required: test("folk"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//民族
			"data[Resume][nowCompany]":{
			required: test("nowCompany"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//当前公司
			"data[Resume][homearea]":{
			required: test("homearea"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//家庭居住地
			"data[Resume][industry]":{
			required: test("industry"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//所属行业
			"data[Resume][professional]":{
			required: test("professional"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//文化程度
			"data[Resume][actualyearsalary]":{
			required: test("actualyearsalary"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//目前年薪
			"data[Resume][position]":{
			required: test("position"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//职位
			"data[Resume][educationExperience]":{
			required: test("educationExperience")
			},//教育背景
			"data[Resume][targetcompetency]":{
			required: test("targetcompetency"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//目标职能
			"data[Resume][mobilePhone]":{
			required: test("mobilePhone"),mobile:true,stringMinLength:0,stringMaxLength:50
			},//手机
			"data[Resume][workExperience]":{
			required: test("workExperience")
			},//工作经验
			"data[Resume][competency]":{
			required: test("competency"),alowsome:true,stringMinLength:0,stringMaxLength:50
			},//职能
			
			"data[Resume][finishschool]":{
			required: false,string:true,stringMinLength:0,stringMaxLength:50
			},//毕业学校
			"data[Resume][birthday]":{
			required: false,dateISO:true
			},//出生年月
			"data[Resume][tel]":{
			required: false,phone:true
			},//公司电话
			"data[Resume][nationality]":{
			required: false,string:true,stringMinLength:0,stringMaxLength:50
			},//国籍/户籍
			"data[Resume][actualyearsalary]":{
			required: false,string:true,stringMinLength:0,stringMaxLength:50
			},//目前年薪
			"data[Resume][previousCompany]":{
			required: false,string:true,stringMinLength:0,stringMaxLength:50
			},//公司
			"data[Resume][otherMessage]":{
			required: false
			},//其他信息
			"data[Resume][height]":{
			required: false,alowsome:true,stringMinLength:0,stringMaxLength:50
			},//身高
			"data[Resume][editer]":{
			required: false,alowsome:true,stringMinLength:0,stringMaxLength:50
			},//入库人
			"data[Resume][marriedstatus]":{
			required: false,alowsome:true,stringMinLength:0,stringMaxLength:50
			},//婚姻状况
			"data[Resume][linkmode]":{
			required: false,msnqq:true
			},//MSN(QQ)
			"data[Resume][personpage]":{
			required: false,url:true
			},//个人主页
			"data[Resume][linkaddress]":{
			required: false
			},//联系地址
			"data[Resume][postcode]":{
			required: false,zipCode:true,stringMinLength:0,stringMaxLength:50
			},//邮编
			"data[Resume][callmachine]":{
			required: false,phone:true,stringMinLength:0,stringMaxLength:50
			},//寻呼机
			"data[Resume][fax]":{
			required: false,fax:true,stringMinLength:0,stringMaxLength:50
			},//传真
			"data[Resume][workcharacter]":{
			required: false
			},//工作性质
			"data[Resume][politicalvisage]":{
			required: false,alowsome:true,stringMinLength:0,stringMaxLength:50
			},//政治面貌
			"data[Resume][targetcompetency]":{
			required: false
			},//目标职能
			"data[Resume][credentialstype]":{
			required: false,alowsome:true,stringMinLength:0,stringMaxLength:50
			},//证件类型
			"data[Resume][credentialscode]":{
			required: false,alowsome:true,stringMinLength:0,stringMaxLength:50
			},//证件号码
			"data[Resume][healthstatus]":{
			required: false,alowsome:true,stringMinLength:0,stringMaxLength:50
			},//健康状况
			"data[Resume][selfevaluate]":{
			required: false
			},//自我评价
			"data[Resume][jobintent]":{
			required: false
			},//求职意向
			"data[Resume][trainExperience]":{
			required: false
			},//培训经历
			"data[Resume][skillstrongpoint]":{
			required: false
			},//技能特长
			"data[Resume][interest]":{
			required: false
			},//兴趣爱好
			"data[Resume][getencouragement]":{
			required: false
			},//所获奖励
			"data[Resume][gethonour]":{
			required: false
			},//所获荣誉
			"data[Resume][specializedorganise]":{
			required: false
			}//专业组织
		},
		focusInvalid:false,
		onkeyup:false,
		focusInvalid:false,
		onkeyup:false,
		errorPlacement:function(error, element){
			error.appendTo(element.parent());
		}
	});
});
//验证结束
</script>

<script type="text/javascript">
//行业二级菜单
$(document).ready(function(){
	$("#ResumeIndustry1").change(function(){
		var IndustryDroptoplist = $(this).val();
		if(IndustryDroptoplist!="")
		{
			$("#resumesindustry").val($("#ResumeIndustry1 option:selected").text() + "_");
			$.post("<?php echo ROOT_WEB_PATH; ?>/industries/industriesQuery/",{
				Industry : $(this).val()
				},
			function(data,textStatus){
					 $("#ResumeIndustry2:eq(0)>option").remove();
					 $(data).find("aaa").each(function(){
					//	 alert($(this).attr("name"));
					 $("#ResumeIndustry2:eq(0)").append("<option></option>");
					 $("#ResumeIndustry2:eq(0)>option:last").val($(this).attr("name")).html($(this).text());
				  });
				});
		}
		else
		{
			$("#ResumeIndustry2:eq(0)>option").remove();
			$("#ResumeIndustry2:eq(0)").append("<option></option>");
			$("#ResumeIndustry2:eq(0)>option:last").val("").html("不选");
			$("#resumesindustry").val("");
		}
	});
	$("#ResumeIndustry2").change(function(){
		var IndustryDroptoplist = $(this).val();
		if(IndustryDroptoplist!="")
		{
			$("#resumesindustry").val($("#ResumeIndustry1 option:selected").text() + "_" + $("#ResumeIndustry2 option:selected").text());
		}
		else
		{
			$("#resumesindustry").val($("#ResumeIndustry1 option:selected").text() + "_");
		}
	});
});

//职位二级菜单
$(document).ready(function(){
	$("#ResumePosition1").change(function(){
		var IndustryDroptoplist = $(this).val();
		if(IndustryDroptoplist!="")
		{
			$("#resumesposition").val($("#ResumePosition1 option:selected").text() + "_");
			$.post("<?php echo ROOT_WEB_PATH; ?>/positions/getPosition/",{
				Position : $(this).val()
				},
			function(data,textStatus){
					 $("#ResumePosition2:eq(0)>option").remove();
					 $(data).find("aaa").each(function(){
					//	 alert($(this).attr("name"));
					 $("#ResumePosition2:eq(0)").append("<option></option>");
					 $("#ResumePosition2:eq(0)>option:last").val($(this).attr("name")).html($(this).text());
				  });
				});
		}
		else
		{
			$("#ResumePosition2:eq(0)>option").remove();
			$("#ResumePosition2:eq(0)").append("<option></option>");
			$("#ResumePosition2:eq(0)>option:last").val("").html("不选");
			$("#resumesposition").val("");
		}
	});
	$("#ResumePosition2").change(function(){
		var IndustryDroptoplist = $(this).val();
		if(IndustryDroptoplist!="")
		{
			$("#resumesposition").val($("#ResumePosition1 option:selected").text() + "_" + $("#ResumePosition2 option:selected").text());
		}
		else
		{
			$("#resumesposition").val($("#ResumePosition1 option:selected").text() + "_");
		}
	});
});

//职能二级菜单
$(document).ready(function(){
	$("#ResumeCompetency1").change(function(){
		var CompetencyDroptoplist = $(this).val();
		if(CompetencyDroptoplist!="")
		{
			$("#resumescompetency").val($("#ResumeCompetency1 option:selected").text() + "_");
			$.post("<?php echo ROOT_WEB_PATH; ?>/competencies/getcompetencies/",{
				Competency : $(this).val()
				},function(data,textStatus){
					 $("#ResumeCompetency2:eq(0)>option").remove();
					 $(data).find("aaa").each(function(){
					 $("#ResumeCompetency2:eq(0)").append("<option></option>");
					 $("#ResumeCompetency2:eq(0)>option:last").val($(this).attr("name")).html($(this).text());
					 $("#ResumeCompetency3:eq(0)>option").remove();
					 $("#ResumeCompetency3:eq(0)").append("<option></option>");
					 $("#ResumeCompetency3:eq(0)>option:last").val("").html("不选");
				  });
				});
		}
		else
		{
			$("#ResumeCompetency2:eq(0)>option").remove();
			$("#ResumeCompetency2:eq(0)").append("<option></option>");
			$("#ResumeCompetency2:eq(0)>option:last").val("").html("不选");
			$("#ResumeCompetency3:eq(0)>option").remove();
			$("#ResumeCompetency3:eq(0)").append("<option></option>");
			$("#ResumeCompetency3:eq(0)>option:last").val("").html("不选");
			$("#resumescompetency").val("");
		}
	});
});

//职能三层字段 级联菜单 //
$(document).ready(function(){
	$("#ResumeCompetency2").change(function(){
		var list = $(this).val();
		if(list!="")
		{
			$("#resumescompetency").val($("#ResumeCompetency1 option:selected").text() + "_" + $("#ResumeCompetency2 option:selected").text() + "_");
			$.post("<?php echo ROOT_WEB_PATH; ?>/competencies/getcompetencies/",{
				Competency : $(this).val()
				},function(data,textStatus){
					 $("#ResumeCompetency3:eq(0)>option").remove();
					 $(data).find("aaa").each(function(){
					//	 alert($(this).attr("name"));
					 $("#ResumeCompetency3:eq(0)").append("<option></option>");
					 $("#ResumeCompetency3:eq(0)>option:last").val($(this).attr("name")).html($(this).text());					 
				  });
				});
		}
		else
		{
			$("#ResumeCompetency3:eq(0)>option").remove();
			$("#ResumeCompetency3:eq(0)").append("<option></option>");
			$("#ResumeCompetency3:eq(0)>option:last").val("").html("不选");
			$("#resumescompetency").val($("#ResumeCompetency1 option:selected").text() + "_");
		}
	});
	$("#ResumeCompetency3").change(function(){
		var list = $(this).val();
		if(list!="")
		{
			if($("#ResumeCompetency1 option:selected").text()!="不选"&&$("#ResumeCompetency1 option:selected").text()!="不限")
			$("#resumescompetency").val($("#ResumeCompetency1 option:selected").text() + "_" + $("#ResumeCompetency2 option:selected").text() + "_" + $("#ResumeCompetency3 option:selected").text());
			else
			$("#resumescompetency").val("");
		}
		else
		{
			if($("#ResumeCompetency1 option:selected").text()!="不选"&&$("#ResumeCompetency1 option:selected").text()!="不限")
			$("#resumescompetency").val($("#ResumeCompetency1 option:selected").text() + "_" + $("#ResumeCompetency2 option:selected").text() + "_");
			else
			$("#resumescompetency").val("");
		}
	});
});


//目标职能二级菜单
$(document).ready(function(){
	$("#ResumeTargetcompetency1").change(function(){
		var CompetencyDroptoplist = $(this).val();
		if(CompetencyDroptoplist!="")
		{
			$("#resumestargetcompetency").val($("#ResumeTargetcompetency1 option:selected").text() + "_");
			$.post("<?php echo ROOT_WEB_PATH; ?>/competencies/getcompetencies/",{
				Competency : $(this).val()
				},function(data,textStatus){
					 $("#ResumeTargetcompetency2:eq(0)>option").remove();
					 $(data).find("aaa").each(function(){
					 $("#ResumeTargetcompetency2:eq(0)").append("<option></option>");
					 $("#ResumeTargetcompetency2:eq(0)>option:last").val($(this).attr("name")).html($(this).text());
					 $("#ResumeTargetcompetency3:eq(0)>option").remove();
					 $("#ResumeTargetcompetency3:eq(0)").append("<option></option>");
					 $("#ResumeTargetcompetency3:eq(0)>option:last").val("").html("不选");
				  });
				});
		}
		else
		{
			$("#ResumeTargetcompetency2:eq(0)>option").remove();
			$("#ResumeTargetcompetency2:eq(0)").append("<option></option>");
			$("#ResumeTargetcompetency2:eq(0)>option:last").val("").html("不选");
			$("#ResumeTargetcompetency3:eq(0)>option").remove();
			$("#ResumeTargetcompetency3:eq(0)").append("<option></option>");
			$("#ResumeTargetcompetency3:eq(0)>option:last").val("").html("不选");
			$("#resumestargetcompetency").val("");
		}
	});
});

//目标职能三层字段 级联菜单 //
$(document).ready(function(){
	$("#ResumeTargetcompetency2").change(function(){
		var list = $(this).val();
		if(list!="")
		{
			$("#resumestargetcompetency").val($("#ResumeTargetcompetency1 option:selected").text() + "_" + $("#ResumeTargetcompetency2 option:selected").text() + "_");
			$.post("<?php echo ROOT_WEB_PATH; ?>/competencies/getcompetencies/",{
				Competency : $(this).val()
				},function(data,textStatus){
					 $("#ResumeTargetcompetency3:eq(0)>option").remove();
					 $(data).find("aaa").each(function(){
					//	 alert($(this).attr("name"));
					 $("#ResumeTargetcompetency3:eq(0)").append("<option></option>");
					 $("#ResumeTargetcompetency3:eq(0)>option:last").val($(this).attr("name")).html($(this).text());					 
				  });
				});
		}
		else
		{
			$("#ResumeTargetcompetency3:eq(0)>option").remove();
			$("#ResumeTargetcompetency3:eq(0)").append("<option></option>");
			$("#ResumeTargetcompetency3:eq(0)>option:last").val("").html("不选");
			$("#resumestargetcompetency").val($("#ResumeTargetcompetency1 option:selected").text() + "_");
		}
	});
	$("#ResumeTargetcompetency3").change(function(){
		var list = $(this).val();
		if(list!="")
		{
			if($("#ResumeTargetcompetency1 option:selected").text()!="不选"&&$("#ResumeTargetcompetency1 option:selected").text()!="不限")
			$("#resumestargetcompetency").val($("#ResumeTargetcompetency1 option:selected").text() + "_" + $("#ResumeTargetcompetency2 option:selected").text() + "_" + $("#ResumeTargetcompetency3 option:selected").text());
			else
			$("#resumestargetcompetency").val("");
		}
		else
		{
			if($("#ResumeTargetcompetency1 option:selected").text()!="不选"&&$("#ResumeTargetcompetency1 option:selected").text()!="不限")
			$("#resumestargetcompetency").val($("#ResumeTargetcompetency1 option:selected").text() + "_" + $("#ResumeTargetcompetency2 option:selected").text() + "_");
			else
			$("#resumestargetcompetency").val("");
		}
	});
});

//渠道二级菜单
$(document).ready(function(){
	$("#ResumeChanneltype").change(function(){
		var IndustryDroptoplist = $(this).val();
		if(IndustryDroptoplist!="")
		{
			$.post("<?php echo ROOT_WEB_PATH; ?>/channelmanages/getchannelmanage/",{
				Channelmanage : $(this).val()
				},
			function(data,textStatus){
					 $("#ResumeChannelmanage:eq(0)>option").remove();
					 $(data).find("aaa").each(function(){
					//	 alert($(this).attr("name"));
					 $("#ResumeChannelmanage:eq(0)").append("<option></option>");
					 $("#ResumeChannelmanage:eq(0)>option:last").val($(this).attr("name")).html($(this).text());
				  });
				});
		}
		else
		{
			$("#ResumeChannelmanage:eq(0)>option").remove();
			$("#ResumeChannelmanage:eq(0)").append("<option></option>");
			$("#ResumeChannelmanage:eq(0)>option:last").val("").html("不选");
		}
	});
});

//性别下拉
$(document).ready(function(){
	$("#ResumeSex1").change(function(){
		var list = $(this).val();
		if(list!="")
		{
			$("#resumessex").val($(this).val());
		}
		else
		{
			$("#resumessex").val("");
		}
	});
	$("#ResumeProfessional1").change(function(){
		var list = $(this).val();
		if(list!="")
		{
			$("#resumesprofessional").val($(this).val());
		}
		else
		{
			$("#resumesprofessional").val("");
		}
	});
	$("#ResumeNowCompany1").change(function(){
		var list = $(this).val();
		if(list!="")
		{
			$("#resumesnowCompany").val($(this).val());
		}
		else
		{
			$("#resumesnowCompany").val("");
		}
	});
	$("#ResumeResumerank1").change(function(){
		var list = $(this).val();
		if(list!="")
		{
			$("#resumesresumerank").val($(this).val());
		}
		else
		{
			$("#resumesresumerank").val("");
		}
	});
	$("#ResumeEditer1").change(function(){
		var list = $(this).val();
		if(list!="")
		{
			$("#resumesediter").val($(this).val());
		}
		else
		{
			$("#resumesediter").val("");
		}
	});
	$("#ResumeRecuitPosition1").change(function(){
		var list = $(this).val();
		if(list!="")
		{
			$("#resumesrecruitPosition").val($(this).val());
		}
		else
		{
			$("#resumesrecruitPosition").val("");
		}
	});
});


function setenprovice() {
var a = $("#ResumeProvinceId option:selected").text();
a += $("#ResumeCityId option:selected").text() != '' ? '_' + $("#ResumeCityId option:selected").text() :'';
$("#resumesworkarea").val( a );	
}
$(function()
	{
		
			<?php $options = array();
					$pve = '';
					$pvc = '';
					foreach($provinces as $eachrecord)
					{
						$chk = '';							
						 if($provinceid == $eachrecord['Province']['baseid'] )$chk = 'selected=selected';
						if($eachrecord['Province']['language_id'] == 2) {
							$pve .= '<option value="'.$eachrecord['Province']['baseid'].'" '.$chk.'>'.$eachrecord['Province']['name'].'</option>';
						} else if($eachrecord['Province']['language_id'] == 1) {
							$pvc .= '<option value="'.$eachrecord['Province']['baseid'].'" '.$chk.'>'.$eachrecord['Province']['name'].'</option>';
						}
						
					}
					echo "var en_province_options = '".$pve."';";
					echo "var cn_province_options = '".$pvc."';";
			?>
			
			<?php $options = array();
					$cve = '';
					$cvc = '';
					foreach($cities as $eachrecord)
					{
						$chk = '';							
						if($cityid == $eachrecord['City']['baseid'] )$chk = 'selected=selected';
						if($eachrecord['City']['language_id'] == 2) {
							$cve .= '<option value="'.$eachrecord['City']['baseid'].'" '.$chk.'>'.$eachrecord['City']['name'].'</option>';
						} else if($eachrecord['City']['language_id'] == 1) {
							$cvc .= '<option value="'.$eachrecord['City']['baseid'].'" '.$chk.'>'.$eachrecord['City']['name'].'</option>';
						}
					}
					echo "var en_city_options = '".$cve."';";
					echo "var cn_city_options = '".$cvc."';";
			 ?>				
		var en_sex_options = '<option value="">Unknow</option><option value="M">M</option><option value="F">F</option>';
		var cn_sex_options = '<option value="">未知</option><option value="男">男</option><option value="女">女</option>';			
		$(".buttonStyle_layer1").click(function(){
				$("#chinese").css('display','block');
				$("#english").css('display','none');
				$("#japanese").css('display','none');
				$("#resumetype").val('中文简历');
				$("#ResumeProvinceId").html(cn_province_options);
				$("#ResumeCityId").html(cn_city_options);
				$("#ResumeSex1").html(cn_sex_options);
				setenprovice();				
				$("#resumessex").val("");
		});
		$(".buttonStyle_layer2").click(function(){
				$("#chinese").css('display','none');
				$("#english").css('display','block');
				$("#japanese").css('display','none');
				$("#resumetype").val('英文简历');
				$("#ResumeProvinceId").html(en_province_options);
				$("#ResumeCityId").html(en_city_options);
				$("#ResumeSex1").html(en_sex_options);
				setenprovice();
				$("#resumessex").val("");
		});
		$(".buttonStyle_layer3").click(function(){
				$("#chinese").css('display','none');
				$("#english").css('display','none');
				$("#japanese").css('display','block');
				$("#resumetype").val('日文简历');
				$("#ResumeProvinceId").html(en_province_options);
				$("#ResumeCityId").html(en_city_options);
				$("#ResumeSex1").html(en_sex_options);
				setenprovice();
				$("#resumessex").val("");
		});
		$("#showphoto").click(function(){
			$("#photoshow").toggle();
		});
		$("#visitoradd").click(function(){
			$("#isvisitor").val('1');
			$("#ResumeInsertoneForm").submit();
		});
		
	});
//省份城市
$(function(){
	//省份级联菜单 //
		$("#ResumeProvinceId").change(function(){
			var workareaf = "" ;
			var list = $(this).val();
			var language = $("#resumetype").val();
			var language_id = language =="中文简历" ? 1 : 2;
			if(list!="")
			{
				$.post("<?php echo ROOT_WEB_PATH; ?>/cities/getProvince/?language_id="+language_id,{
					provicnceid : $(this).val()
					},
				function(data,textStatus){
						 $("#ResumeCityId:eq(0)>option").remove();
						 $(data).find("aaa").each(function(){
						// alert($(this).attr("name"));
						 $("#ResumeCityId:eq(0)").append("<option></option>");
						 $("#ResumeCityId:eq(0)>option:last").val($(this).attr("name")).html($(this).text());

					  });
					if($("#ResumeCityId option:selected").html() != null){	
							workareaf = $("#ResumeProvinceId option:selected").text() + '-' +$("#ResumeCityId option:selected").html(); 
					}
					else{
						workareaf = $("#ResumeProvinceId option:selected").text() + '-';
					}
					$("#resumesworkarea").val(workareaf);
				});
			}
		});
		$("#ResumeCityId").change(function(){
			var citylist = $(this).val();
			if(citylist!="")
			{
				if($("#ResumeProvinceId option:selected").text()!=""&&$("#ResumeCityId option:selected").text()!="")
				$("#resumesworkarea").val($("#ResumeProvinceId option:selected").text() + "_" + $("#ResumeCityId option:selected").text());
				else
				$("#resumesworkarea").val("");
			}
			else
			{
				if($("#ResumeProvinceId option:selected").text()!=""&&$("#ResumeCityId option:selected").text()!="")
				$("#resumesworkarea").val($("#ResumeProvinceId option:selected").text() + "_");
				else
				$("#resumesworkarea").val("");
			}
		});
});

</script>

<?php echo $form->create('Resume',array('action'=>'handinsert','type'=> 'post','onsubmit'=>'','enctype'=>'multipart/form-data'));?>
<?php echo $form->hidden('table',array('id'=>'table','default'=>$table));?>	
<?php 
				echo $form->hidden('visitor',array('label'=>false,'default'=>'0','id'=>'isvisitor'));
			?>
<table width="100%" cellspacing="0" cellpadding="0" border="0" style="text-align: left">
	<tr >
		<td width="50"></td>
		<td width="100"><?php echo $form->button('确定入库',array('type'=>'submit','class'=>'btn4','style' => 'font-size:12px;'));?></td>
		<td width="100"><?php echo $form->button('更新寻访',array('class'=>'btn4','id'=>'visitoradd','style' => 'font-size:12px;'));?>  <!-- __('reset', true)取消-->
		</td>
		<td width="100"><?php echo $form->button('上传照片',array('class'=>'btn4','id'=>'showphoto','style' => 'font-size:12px;'));?>  <!-- __('reset', true)取消-->
		</td>
		<td width="100" style="display: none" id="photoshow"><?php echo $form->file('photo',array('name'=>'photo','label'=>false));?>  <!-- __('reset', true)取消-->
		</td>
	</tr>
</table>
<table class="tab1">
		<tr>
			<th class="buttonStyle_layer1"><span id="lblCN" style="word-break:break-all;cursor:pointer;">中文简历</span></th>
			<th class="buttonStyle_layer2"><span id="lblEN" style="word-break:break-all;cursor:pointer;">英文简历</span></th>
			<th class="buttonStyle_layer3"><span id="lblJP" style="word-break:break-all;cursor:pointer;">日文简历</span></th>
		</tr>
</table>

<div class="tabflex">
<fieldset><legend id="chinese" style="display: block;"><?php __('中文简历');?></legend>
<legend id="english" style="display: none;"><?php __('英文简历');?></legend>
<legend id="japanese" style="display: none;""><?php __('日文简历');?></legend>
		<?php 
				echo $form->hidden('language',array('label'=>false,'default'=>'中文简历','id'=>'resumetype'));
			?>
<table width="100%" cellspacing="0" cellpadding="0" border="0"
	style="text-align: left">
	<tr style="display:none;">
		<td width="50"></td>
		<td width="100"><?php __('Resume Channelmanage');//渠道：?>:</td>
		<td >
		<?php $options = array();
					foreach($channeltypelist as $eachrecord)
					{
						$options[$eachrecord['Channeltype']['id']] = $eachrecord['Channeltype']['name'];
					}
					echo $form->input('channeltype',array('empty' =>'不选','options'=>$options,'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		<?php echo $form->input('channelmanage',array('options'=>array('0'=>'不选'),'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		</td>
		</tr>
</table>

<legend><?php __('Resume Importance');//重要信息?></legend>
<table width="100%" cellspacing="0" cellpadding="0" border="0"
	style="text-align: left">
	<tr>
		<td width="5%"></td>
		<td width="10%"><?php __('姓名：');?>
			<font color="red" id="name">
				<?php if($fields['name'] == 1 && $fields['name'] !=null){echo "*";}?>
			</font>	
		</td>
		<td width="20%">
		<?php 
				echo $form->input('name',array('label'=>false,'id'=>'resumesname'));
			?>
		</td>
		<td  width="5%"></td>
		<td width="10%"><?php __('性别：');?>
			<font color="red" id="sex">
				<?php if($fields['sex'] == 1 && $fields['sex'] !=null){echo "*";}?>
			</font>		
		</td>
		<td width="20%"> <?php echo $form->input('sex',array('readOnly'=>true,'label'=>false,'id'=>'resumessex'));?></td>
		<td width="30%">
		<?php $options = array('' =>'未知','男' =>'男','女' =>'女');
					echo $form->input('sex1',array('options'=>$options,'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('出生年月：');?></td>
		<td >
		<?php 
				echo $form->input('birthday',array('label'=>false,'minYear'=>'1950','dateFormat'=>'YMD','monthNames' => false,'id'=>'resumesbirthday'));		
				?>
		</td>
		<td></td>
		<td><?php __('现工作地点：');?>
			<font color="red" id="workarea">
				<?php if($fields['workarea'] == 1 && $fields['workarea'] !=null){echo "*";}?>
			</font>	
		</td>
		 <td colspan="2">
			<?php echo $form->text('workarea', array('label'=>false,'div'=>false,'readOnly'=>true,'value'=>$resumeFieldDefault,'id'=>'resumesworkarea'));?>
			<?php $options = array();
					foreach($provinces as $eachrecord)
					{
						if($eachrecord['Province']['language_id'] == 1) {
							$options[$eachrecord['Province']['baseid']] = $eachrecord['Province']['name'];
						}
						
					}
					echo $form->input('province_id',array('options'=>$options,'label'=>false,'div'=>false,'default'=>$provinceid));
				?>
			<?php $options = array();
					foreach($cities as $eachrecord)
					{
						if($eachrecord['City']['language_id'] == 1) {
							$options[$eachrecord['City']['baseid']] = $eachrecord['City']['name'];
						}
					}
					echo $form->input('city_id',array('options'=>$options,'label'=>false,'div'=>false,'default'=>$cityid));
			 ?>	
			 <?php echo $form->hidden('resumeFieldDefault',array('value'=>$resumeFieldDefault,'id'=>'resumeFieldDefault'));?>		
		</td>

	</tr>
	<tr>
		<td></td>
		<td><?php __('毕业学校：');?></td>
		<td >
		<?php
					echo $form->input('finishschool',array('label'=>false,'id'=>'resumesfinishschool'));
				?>
		</td>
		<td></td>
		<td><?php __('文化程度：');?>
			<font color="red" id="professional">
				<?php if($fields['professional'] == 1 && $fields['professional'] !=null){echo "*";}?>
			</font>	
		</td>
		<td><?php echo $form->input('professional',array('label'=>false,'id'=>'resumesprofessional'));?></td>
		<td >
		<?php $options = array();
					foreach($professionallist as $eachrecord)
					{
						$options[$eachrecord['Advanceddegreerank']['name']] = $eachrecord['Advanceddegreerank']['name'];
					}
					echo $form->input('professional1',array('empty' =>'不选','options'=>$options,'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('公司电话：');?></td>
		<td >
		<?php
					echo $form->input('tel',array('label'=>false,'id'=>'resumestel'));
				?>
		</td>
		<td></td>
		<td><?php __('手机：');?>
			<font color="red" id="mobilePhone">
				<?php if($fields['mobilePhone'] == 1 && $fields['mobilePhone'] !=null){echo "*";}?>
			</font>	
		</td>
		<td >
		<?php 
					echo $form->input('mobilePhone',array('label'=>false,'id'=>'resumesmobilePhone'));
				?>
		</td>
		<td></td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('家庭电话：');?>
			<font color="red" id="familytel">
				<?php if($fields['familytel'] == 1 && $fields['familytel'] !=null){echo "*";}?>
			</font>	
		</td>
		<td >
		<?php
					echo $form->input('familytel',array('label'=>false,'id'=>'resumesfamilytel'));
				?>
		</td>
		<td></td>
		<td><?php __('电子邮件：');?>
			<font color="red" id="email">
				<?php if($fields['email'] == 1 && $fields['email'] !=null){echo "*";}?>
			</font>	
		</td>
		<td >
		<?php echo $form->input('email',array('label'=>false,'id'=>'resumesemail'));
				?>
		</td>
		<td></td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('国籍/户籍：');?></td>
		<td >
		<?php
					echo $form->input('nationality',array('label'=>false,'id'=>'resumesnationality'));
				?>
		</td>
		<td></td>
		<td><?php __('家庭居住地：');?>
			<font color="red" id="homearea">
				<?php if($fields['homearea'] == 1 && $fields['homearea'] !=null){echo "*";}?>
			</font>	
		</td>
		<td colspan="2">
		<?php echo $form->input('homearea', array('label'=>false,'class'=>'TextBoxL','id'=>'resumeshomearea'));?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('目前年薪：');?>
			<font color="red" id="actualyearsalary">
				<?php if($fields['actualyearsalary'] == 1 && $fields['actualyearsalary'] !=null){echo "*";}?>
			</font>	
		</td>
		<td >
		<?php
					echo $form->input('actualyearsalary',array('label'=>false,'id'=>'resumesactualyearsalary'));
				?>
		</td>
		<td colspan="4"></td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('行    业：');?>
			<font color="red" id="industry">
				<?php if($fields['industry'] == 1 && $fields['industry'] !=null){echo "*";}?>
			</font>	
		</td>
		<td><?php echo $form->input('industry',array('id'=>'resumesindustry','label'=>false,'id'=>'resumesindustry'));?></td>
		<td colspan="4">
		<?php $options = array();
					foreach($industrylist as $eachrecord)
					{
						$options[$eachrecord['Industry']['id']] = $eachrecord['Industry']['name'];
					}
					echo $form->input('industry1',array('empty' =>'不选','options'=>$options,'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		<?php echo $form->input('industry2',array('options'=>array('0'=>'不选'),'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		</td>
	</tr>
		<tr>
		<td></td>
		<td><?php __('职能：');?>
			<font color="red" id="competency">
				<?php if($fields['competency'] == 1 && $fields['competency'] !=null){echo "*";}?>
			</font>	
		</td>
		<td><?php echo $form->input('competency',array('label'=>false,'id'=>'resumescompetency'));?></td>
		<!--职能下拉-->
		<td colspan="4">
		<?php $options = array();
					foreach($competencylist as $eachrecord)
					{
						$options[$eachrecord['Competency']['id']] = $eachrecord['Competency']['name'];
					}
					echo $form->input('competency1',array('empty' =>'不选','options'=>$options,'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>

		<?php echo $form->input('competency2',array('options'=>array('0'=>'不选'),'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>

		<?php echo $form->input('competency3',array('options'=>array('0'=>'不选'),'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		</td>
		</tr>
		<tr>
		<td></td>
		<td><?php __('职位：');?>
			<font color="red" id="position">
				<?php if($fields['position'] == 1 && $fields['position'] !=null){echo "*";}?>
			</font>	
		</td>
		<td><?php echo $form->input('position',array('label'=>false,'id'=>'resumesposition'));?></td>
		<!--现在职位下拉-->
		<td colspan="4">
		<?php $options = array();
					foreach($positionlist as $eachrecord)
					{
						$options[$eachrecord['Position']['id']] = $eachrecord['Position']['name'];
					}
					echo $form->input('position1',array('empty' =>'不选','options'=>$options,'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>

		<?php echo $form->input('position2',array('options'=>array('0'=>'不选'),'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		</td>
		</tr>
		<!--现在公司下拉-->
		<tr>
		<td></td>
		<td><?php __('公司：');?></td>
		<td >
		<?php 
					echo $form->input('previousCompany',array('label'=>false,'id'=>'resumespreviousCompany'));		
				?>
		</td>
		<td></td>
		<td><?php __('当前公司：');?>
			<font color="red" id="nowCompany">
				<?php if($fields['nowCompany'] == 1 && $fields['nowCompany'] !=null){echo "*";}?>
			</font>	
		</td>
		<td><?php echo $form->input('nowCompany',array('label'=>false,'id'=>'resumesnowCompany'));?></td>
		<td>
		<?php $options = array();
					foreach($companymanagelist as $eachrecord)
					{
						$options[$eachrecord['Companymanage']['name']] = $eachrecord['Companymanage']['name'];
					}
					echo $form->input('nowCompany1',array('empty' =>'不选','options'=>$options,'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('教育背景：');?>
				<font color="red" id="educationExperience">
				<?php if($fields['educationExperience'] == 1 && $fields['educationExperience'] !=null){echo "*";}?>
			</font>	
			</td>
			<td colspan="5">
				<?php 
					echo $form->textarea('educationExperience',array('label'=>false,'id'=>'resumeseducationExperience','class'=>'areaStyle'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('工作经历：');?>
				<font color="red" id="workExperience">
				<?php if($fields['workExperience'] == 1 && $fields['workExperience'] !=null){echo "*";}?>
			</font>	
			</td>
			<td colspan="5">
				<?php 
					echo $form->textarea('workExperience',array('label'=>false,'id'=>'resumesworkExperience','class'=>'areaStyle'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('项目经验：');?>
			<font color="red" id="projectExperience">
				<?php if($fields['projectExperience'] == 1 && $fields['projectExperience'] !=null){echo "*";}?>
			</font>		
			</td>
			<td colspan="5">
				<?php 
					echo $form->textarea('projectExperience',array('label'=>false,'class'=>'areaStyle','id'=>'resumesprojectExperience'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('证    书：');?>
				<font color="red" id="certificate">
				<?php if($fields['certificate'] == 1 && $fields['certificate'] !=null){echo "*";}?>
			</font>	
			</td>
			<td colspan="5">
				<?php 
					echo $form->textarea('certificate',array('label'=>false,'class'=>'areaStyle','id'=>'resumescertificate'));
				?>
			</td>
		</tr>
		<tr >
			<td></td>
			<td><?php __('其他信息：');?></td>
			<td colspan="5">
				<?php 
					echo $form->textarea('otherMessage',array('label'=>false,'class'=>'areaStyle','id'=>'resumesotherMessage'));
				?>
			</td>
		</tr>
</table>
</fieldset>
<fieldset><legend><?php __('其他信息');?></legend>
<table width="100%" cellspacing="0" cellpadding="0" border="0"
	style="text-align: left">
<!--	7个td-->
	<tr>
		<td width="5%"></td>
		<td width="10%"><?php __('身高：');?></td>
		<td width="20%">
		<?php echo $form->input('height',array('label'=>false,'id'=>'resumesheight'));
?>
		</td>
		<td width="5%"></td>
		<td width="10%"><?php __('入 库 人：');?></td>
		<td width="20%"><?php echo $form->input('editer',array('value' =>$username,'label'=>false,'id'=>'resumesediter'));	?></td>
		<td width="30%"><?php $options = array();
					foreach($userlist as $eachrecord)
					{
						$options[$eachrecord['User']['username']] = $eachrecord['User']['username'];
					}
					echo $form->input('editer1',array('empty' =>'不选','options'=>$options,'label'=>false,'div'=>false));		
				?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('民    族：');?>
			<font color="red" id="folk">
				<?php if($fields['folk'] == 1 && $fields['folk'] !=null){echo "*";}?>
			</font>	
		</td>
		<td >
		<?php 
					echo $form->input('folk',array('label'=>false,'id'=>'resumesfolk'));		
				?>
		</td>
		<td></td>
		<td><?php __('婚姻状况：');?></td>
		<td colspan="2">
			<?php 
				echo $form->input('marriedstatus',array('label'=>false,'id'=>'resumesmarriedstatus')); 
			?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('MSN(QQ)：');?></td>
		<td >
		<?php
					echo $form->input('linkmode',array('label'=>false,'id'=>'resumeslinkmode'));
				?>
		</td>
		<td></td>
		<td><?php __('个人主页：');?></td>
		<td colspan="2">
		<?php
				echo $form->input('personpage',array('label'=>false,'id'=>'resumespersonpage'));		
				?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('联系地址：');?></td>
		<td colspan="5">
		<?php 
					echo $form->input('linkaddress',array('label'=>false,'class'=>'TextBoxL','id'=>'resumeslinkaddress'));
				?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('邮    编：');?></td>
		<td >
		<?php
					echo $form->input('postcode',array('label'=>false,'id'=>'resumespostcode'));
				?>
		</td>
		<td></td>
		<td><?php __('寻呼机：');?></td>
		<td colspan="2">
		<?php 
					echo $form->input('callmachine',array('label'=>false,'id'=>'resumescallmachine'));
				?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('传    真：');?></td>
		<td >
		<?php
					echo $form->input('fax',array('label'=>false,'id'=>'resumesfax'));
				?>
		</td>
		<td></td>
		<td><?php __('工作性质：');?></td>
		<td colspan="2">
			<?php echo $form->input('workcharacter', array('label'=>false,'id'=>'resumesworkcharacter'));?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('政治面貌：');?></td>
		<td colspan="5">
		<?php
					echo $form->input('politicalvisage',array('label'=>false,'id'=>'resumespoliticalvisage'));
				?>
		</td>
		</tr>
	<tr>
		<td></td>
		<td><?php __('目标职能：');?>
			<font color="red" id="targetcompetency">
				<?php if($fields['targetcompetency'] == 1 && $fields['targetcompetency'] !=null){echo "*";}?>
			</font>	
		</td>
		<td><?php echo $form->input('targetcompetency',array('label'=>false,'id'=>'resumestargetcompetency'));?></td>
		<td colspan="4">
		<?php $options = array();
					foreach($competencylist as $eachrecord)
					{
						$options[$eachrecord['Competency']['id']] = $eachrecord['Competency']['name'];
					}
					echo $form->input('targetcompetency1',array('empty' =>'不选','options'=>$options,'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>

		<?php echo $form->input('targetcompetency2',array('options'=>array('0'=>'不选'),'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>

		<?php echo $form->input('targetcompetency3',array('options'=>array('0'=>'不选'),'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('应聘岗位：');?>
			<font color="red" id="recruitPosition">
				<?php if($fields['recruitPosition'] == 1 && $fields['recruitPosition'] !=null){echo "*";}?>
			</font>	
		</td>
		<td><?php echo $form->input('recruitPosition',array('label'=>false,'id'=>'resumesrecruitPosition'));?></td>
		<!--职能下拉-->
		<td colspan="4">
		<?php $options = array();
					foreach($recruitpositionlist as $eachrecord)
					{
						$options[$eachrecord['Recruitposition']['name']] = $eachrecord['Recruitposition']['name'];
					}
					echo $form->input('recuitPosition1',array('empty' =>'不选','options'=>$options,'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><?php __('证件类型：');?></td>
		<!--现在职位下拉-->
		<td>
		<?php
					echo $form->input('credentialstype',array('label'=>false,'id'=>'resumescredentialstype'));		
				?>
		</td>
		<td></td>
		<td><?php __('证件号码：');?></td>
		<td colspan="2">
		<?php 
					echo $form->input('credentialscode',array('label'=>false,'id'=>'resumescredentialscode'));		
				?>
		</td>
		</tr>
		<tr>
		<td></td>
		<td><?php __('简历等级：');?>
			<font color="red" id="resumerank">
				<?php if($fields['resumerank'] == 1 && $fields['resumerank'] !=null){echo "*";}?>
			</font>	
		</td>
		<td><?php echo $form->input('resumerank',array('label'=>false,'id'=>'resumesresumerank'));?></td>
		<td colspan="4">
		<?php $options = array();
					foreach($resumeranklist as $eachrecord)
					{
						$options[$eachrecord['Resumerank']['name']] = $eachrecord['Resumerank']['name'];
					}
					echo $form->input('resumerank1',array('empty' =>'不选','options'=>$options,'label'=>false,'div'=>false,'class'=>'TextBoxE1'));		
				?>
		</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('健康状况：');?></td>
			<td>
				<?php 
					echo $form->input('healthstatus',array('label'=>false,'id'=>'resumeshealthstatus'));
				?>
			</td>
			<td></td>
			<td><?php __('目标地点：');?></td>
			<td colspan="2">
				<?php 
					echo $form->input('targetAddress',array('label'=>false,'id'=>'resumestargetAddress'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('开始工作时间：');?></td>
			<td colspan="5">
				<?php 
					echo $form->input('startworkdate',array('label'=>false,'dateFormat'=>'YMD','monthNames' => false,'id'=>'resumesstartworkdate'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('自我评价：');?></td>
			<td colspan="5">
				<?php 
					echo $form->textarea('selfevaluate',array('label'=>false,'class'=>'areaStyle','id'=>'resumesselfevaluate'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('求职意向：');?></td>
			<td colspan="5">
				<?php 
					echo $form->textarea('jobintent',array('label'=>false,'class'=>'areaStyle','id'=>'resumesjobintent'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('IT 技 能：');?>
				<font color="red" id="itSkills">
				<?php if($fields['itSkills'] == 1 && $fields['itSkills'] !=null){echo "*";}?>
			</font>	
			</td>
			<td colspan="5">
				<?php 
					echo $form->textarea('itSkills',array('label'=>false,'id'=>'resumesitSkills','class'=>'areaStyle'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('外语能力：');?>
				<font color="red" id="languageSkills">
				<?php if($fields['languageSkills'] == 1 && $fields['languageSkills'] !=null){echo "*";}?>
			</font>	
			</td>
			<td colspan="5">
				<?php 
					echo $form->textarea('languageSkills',array('label'=>false,'class'=>'areaStyle','id'=>'resumeslanguageSkills'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('培训经历：');?></td>
			<td colspan="5">
				<?php 
					echo $form->textarea('trainExperience',array('label'=>false,'class'=>'areaStyle','id'=>'resumestrainExperience'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('技能特长：');?></td>
			<td colspan="5">
				<?php 
					echo $form->textarea('skillstrongpoint',array('label'=>false,'class'=>'areaStyle','id'=>'resumesskillstrongpoint'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('兴趣爱好：');?></td>
			<td colspan="5">
				<?php 
					echo $form->textarea('interest',array('label'=>false,'class'=>'areaStyle','id'=>'resumesinterest'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('所获奖励：');?></td>
			<td colspan="5">
				<?php 
					echo $form->textarea('getencouragement',array('label'=>false,'class'=>'areaStyle','id'=>'resumesgetencouragement'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('所获荣誉：');?></td>
			<td colspan="5">
				<?php 
					echo $form->textarea('gethonour',array('label'=>false,'class'=>'areaStyle','id'=>'resumesgethonour'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('专业组织：');?></td>
			<td colspan="5">
				<?php 
					echo $form->textarea('specializedorganise',array('label'=>false,'class'=>'areaStyle','id'=>'resumesspecializedorganise'));
				?>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><?php __('简历原件：');?></td>
			<td colspan="5">
				<?php 
					echo $form->file('resumefile',array('name'=>'resumefile','class' => 'TextBoxL','size'=>50,'label'=>false));
				?>
			</td>
		</tr>
</table>
</fieldset>
<?php echo $form->end();?>
